Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃 Update for Unicode 14 #33

Merged
merged 4 commits into from
Jan 13, 2022
Merged

馃 Update for Unicode 14 #33

merged 4 commits into from
Jan 13, 2022

Conversation

ticky
Copy link
Owner

@ticky ticky commented Sep 29, 2021

Unicode 14 is here, and with it are some breaking changes in emoji-regex, which mean we need to change how we generate our own stuff.

To accomplish this, we're moving to the slightly-more-upstream package, emoji-test-regex-pattern, and using its java regex variation.

This also means removing all but the one regular expression.

lib/emoji_regex.rb Outdated Show resolved Hide resolved
@ticky
Copy link
Owner Author

ticky commented Jan 13, 2022

Confirmed that this works in-situ in buildkite/emojis

Unicode 14 is here, and with it are some breaking changes in `emoji-regex`, which mean we need to change how we generate our own stuff.

To accomplish this, we're moving to the slightly-more-upstream package, `emoji-test-regex-pattern`, and using its `java` regex variation.

This also means removing all but the one regular expression. We previously marked `Emoji` as deprecated, but the plan now is to mark `Text` as deprecated also.
@ticky ticky marked this pull request as ready for review January 13, 2022 21:02
@ticky ticky merged commit 99db02f into develop Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant